package com.gl.common.enums;

/**
 * 用户状态枚举类
 */
public enum UserStatusEnum {

	/**
	 * 0-停用
	 */
	DISABLE(0, "停用"),
	/**
	 * 1-正常
	 */
	NORMAL(1, "正常"),
	/**
	 * 2-删除
	 */
	DELETED(2, "删除");

	private final Integer code;
	private final String info;

	UserStatusEnum(Integer code, String info) {
		this.code = code;
		this.info = info;
	}

	public Integer code() {
		return code;
	}

	public String info() {
		return info;
	}
}
